<template>
<view class="container">
 <searchbar clearButton="auto" confirm="onSearch"></searchbar>
  
  <text v-if="courseList.length==0" >这里什么都没有……</text>

    <block v-else v-for="item in courseList" :key="id">
      <videoitem :title='item.title'
      :note='item.content'
      :rightText='item.desc'
      thumb='/static/image/home/backGround.jpg'
      ></videoitem>
	</block>
</view>
</template>

<script>
	import searchbar from '../../components/uni-search-bar/uni-search-bar.vue'
	import videoitem from '../../components/course-video/video-list-item.vue'
	
	export default {
		components:{
			videoitem,
			searchbar
		},
		data() {
			return {
				    courseList:[
				      
				    ],

				    ttl: "",
			}
		},
		methods: {
			
		}
	}
</script>

<style>
.weui-cell_select {
padding-right: 16px;
border-bottom: 1rpx solid rgba(0,0,0,0.1);
  background-color:grey;
}
.weui-cells__title{
  text-align: center;
}

</style>
